//
//  DYMineCell.m
//  kafuMerchant
//
//  Created by 帝云科技 on 2018/9/20.
//  Copyright © 2018年 帝云科技. All rights reserved.
//

#import "DYMineCell.h"

@implementation DYMineCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)dy_initUI
{
    [super dy_initUI];
    
    
    
    self.contentLabel =({
        UILabel *label=[Utils labelWithTitleFontSize:13 textColor:[UIColor xhq_base] alignment:2];
        label;
    });
    
    self.arrow=({
        UIImageView *imageview=[Utils imageViewWithImage:IMG(@"arrow_right")];
        imageview;
    });
    
    [self addSubview:self.contentLabel];
    [self addSubview:self.arrow];
    
    [self.arrow makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(BILIWIDTH(-10));
        make.centerY.equalTo(self);
    }];
    
    [self.contentLabel makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.arrow.left).offset(BILIWIDTH(-10));
        make.centerY.equalTo(self);
    }];
    
    self.textLabel.font=kFont(13);
    self.textLabel.textColor=[UIColor xhq_aTitle];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
